{if is_array($obj_versions) }
	<div style="padding: 10px; border: 1px solid #878787;">
		<h1>{$smarty.config.ContentEditor_versions}</h1>
		<form  id="form_content_obj_versions_{$obj.obj_id}">
			<input type="hidden" name="obj_id" value="{$obj.obj_id}" />
			{foreach name="versloop" from=$obj_versions item="vers"}
				<input type="radio" name="obj_vers_id" value="{$vers.obj_vers_id}" {if $vers.obj_vers_visible==1}checked="checked"{/if} />
				<a href="javascript:void(0)" onclick="{literal}xajax.request({ccdsclass:'ccdsContentEditor',ccdsfun:'ContentEditorEdit'},{parameters:[{{/literal}obj_id:{$obj.obj_id},obj_vers_id:{$vers.obj_vers_id},reload:true{literal}}]});{/literal}">
				{if $obj_vers_id == $vers.obj_vers_id}<strong>{/if}
				{$smarty.config.ContentEditor_vers_created} {$vers.obj_vers_created|date_format:"%d.%m.%Y / %H:%M:%S"}  {$smarty.config.ContentEditor_vers_created_by} {$vers.user_name}
				{if $obj_vers_id == $vers.obj_vers_id}</strong>{/if}
				</a>
				<br />
			{/foreach}
			<br />
			{if $obj.permissions.modify == 1}
				<input type="button" name="submitbtn" value="{$smarty.config.ContentEditor_save}" class="submitbtn" onclick="{literal}xajax.request({ccdsclass:'ccdsContentEditor',ccdsfun:'ContentEditorVersionSave'},{parameters:[xajax.getFormValues('form_content_obj_versions_{/literal}{$obj.obj_id}{literal}')]});{/literal}"/>
			{else}
				{$smarty.config.ContentEditor_no_permissions}
			{/if}
		</form>
	</div>
{/if}